package ooday05;

public class StaticFinalDemo {
    public static void main(String[] args) {
        System.out.println(Loo.PI);
        //Loo.PI = 3.1415926;  编译错误，常量不能被改变
        System.out.println(Loo.num);
        System.out.println(Loo.COUNT);


    }

}

class Loo{
    public static final double PI = 3.14159;
    public static final int NUM = 5;
    public static int num = 5;//静态变量
    public static final int COUNT = 5;//常量(静态)

    enum week{

    }

}
